package com.swf.seed.beanwraper;

public class Circle {
	private int x;
	private int y;
	private String a;
	private String b;
	
	public Circle(int x, int y) {
		super();
		this.x = x;
		this.y = y;
	}
	
	
	public Circle(String a, String b) {
		super();
		this.a = a;
		this.b = b;
	}
	

	public Circle(int x, int y, String a, String b) {
		super();
		this.x = x;
		this.y = y;
		this.a = a;
		this.b = b;
	}


	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public void setA(String a) {
		this.a = a;
	}
	
	public String getA() {
		return a;
	}
	
	
	public int getXY(int type){
		if (type==1){
			return x+y;
		}else{
			return x-y;
		}
	}
	private String getAB(int type){
		if (type==1){
			return a+"+"+b;
		}else{
			return a+"-"+b;
		}
	}
}
